Skip to content

Conversation

@glenndrives
Copy link

Adding this functionality to the official firmware will expose the input pin pull-up resistor control to all users. It will make my life a lot easier too.
I'll be more than happy to do this for the other relay controllers as well.

Thanks for taking a look, Glenn.

@telliottosceola
Copy link
Member

Hey Glen,
Thanks for the pull request. I am thinking a whole initialization function should be added to the library(replacing the setAddress function). The function would allow the user to set the I2C address of the chip, the IO direction of the 6 spare IOs on the 2 relay boards and also pull inputs high or let them float. What do you think?

@glenndrives
Copy link
Author

glenndrives commented Aug 7, 2017 via email

@glenndrives
Copy link
Author

Thinking about this, if we replace setAddress with, say, setInit ... won't this break compatibility with any current firmware users? Why not leave setAddress and add setInit with control of all the other config stuff?

@telliottosceola
Copy link
Member

telliottosceola commented Aug 7, 2017 via email

@glenndrives
Copy link
Author

glenndrives commented Aug 7, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants